﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.Design;
using Liquid.Windows.Commands;
using System.ComponentModel;

namespace Liquid.Windows.Design {
	public abstract class ComponentDesigner<T> : ComponentDesigner
		where T : IComponent
	{
		public sealed override void Initialize(IComponent component) {
			this.Initialize((T)component);
		}
		public virtual void Initialize(T component) {
			base.Initialize(component);
		}

		public new T Component {
			get { return (T)base.Component; }
		}
	}
}
